
<h1><span class="yiyi-st" id="yiyi-12">numpy.core.defchararray.add</span></h1>
        <blockquote>
        <p>原文：<a href="https://docs.scipy.org/doc/numpy/reference/generated/numpy.core.defchararray.add.html">https://docs.scipy.org/doc/numpy/reference/generated/numpy.core.defchararray.add.html</a></p>
        <p>译者：<a href="https://github.com/wizardforcel">飞龙</a> <a href="http://usyiyi.cn/">UsyiyiCN</a></p>
        <p>校对：（虚位以待）</p>
        </blockquote>
    
<dl class="function">
<dt id="numpy.core.defchararray.add"><span class="yiyi-st" id="yiyi-13"> <code class="descclassname">numpy.core.defchararray.</code><code class="descname">add</code><span class="sig-paren">(</span><em>x1</em>, <em>x2</em><span class="sig-paren">)</span><a class="reference external" href="http://github.com/numpy/numpy/blob/v1.11.3/numpy/core/defchararray.py#L262-L286"><span class="viewcode-link">[source]</span></a></span></dt>
<dd><p><span class="yiyi-st" id="yiyi-14">返回逐元素的字符串连接为海峡或Unicode 2数组。</span></p>
<p><span class="yiyi-st" id="yiyi-15">数组<em class="xref py py-obj">x1</em>和<em class="xref py py-obj">x2</em>必须具有相同的形状。</span></p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name">
<col class="field-body">
<tbody valign="top">
<tr class="field-odd field"><th class="field-name"><span class="yiyi-st" id="yiyi-16">参数：</span></th><td class="field-body"><p class="first"><span class="yiyi-st" id="yiyi-17"><strong>x1</strong>：array_like of str或unicode</span></p>
<blockquote>
<div><p><span class="yiyi-st" id="yiyi-18">输入数组。</span></p>
</div></blockquote>
<p><span class="yiyi-st" id="yiyi-19"><strong>x2</strong>：array_like的str或unicode</span></p>
<blockquote>
<div><p><span class="yiyi-st" id="yiyi-20">输入数组。</span></p>
</div></blockquote>
</td>
</tr>
<tr class="field-even field"><th class="field-name"><span class="yiyi-st" id="yiyi-21">返回：</span></th><td class="field-body"><p class="first"><span class="yiyi-st" id="yiyi-22"><strong>添加</strong>：ndarray</span></p>
<blockquote class="last">
<div><p><span class="yiyi-st" id="yiyi-23">输出数组<code class="xref py py-obj docutils literal"><span class="pre">string_</span></code>或<code class="xref py py-obj docutils literal"><span class="pre">unicode_</span></code>，取决于与<em class="xref py py-obj">x1</em>和<em class="xref py py-obj">x2</em>相同形状的输入类型。</span></p>
</div></blockquote>
</td>
</tr>
</tbody>
</table>
</dd></dl>
